package org.hxzon.nioclient;

import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.ByteChannel;

public interface RequestQueue {

    void enqueue(ByteBuffer request);

    void drainTo(ByteChannel channel) throws IOException;

    boolean isEmpty();
}
